#ifndef FRIENDLOGIC_H
#define FRIENDLOGIC_H
#include"tool.h"
#include"object.h"
#include"Json/value.h"

class FriendLogic:public Object
{
    GET_SINGLE_OBJECT(FriendLogic)
public:
    void c2sApplyFriend(Json::Value& msg);

    void c2sAgreeFriend(Json::Value& msg);

    void c2sRejectFriend(Json::Value& msg);

    void c2sDelFriend(Json::Value& msg);
private:
    FriendLogic();

    SINGLE_ATTRIBUTES(FriendLogic);
};

#endif // FRIENDLOGIC_H
